fix(quickstart): correct CLI commands and card visibility#140
Conversation
- The command snippet used v1-era names (`refactron refactor . --preview` / `--verify`) that no longer exist. Update both the npm and pip tabs to the current CLI: `analyze`, `run --dry-run`, `run --apply`. - The card sat at z-10 beneath the section's z-20 top/bottom fade gradients, so its edges were darkened. Lift the card to z-30 so it renders above the gradients and is fully visible.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
There was a problem hiding this comment.
Pull request overview
This PR updates the landing page Quickstart section to reflect current Refactron CLI usage and fixes the section layering so the quickstart card is not dimmed by gradient overlays.
Changes:
- Replaces stale
refactron refactorquickstart commands withrefactron run --dry-runandrefactron run --apply. - Updates command comments for clearer quickstart guidance.
- Raises the quickstart content container above section fade overlays.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
👋 Thanks for opening this pull request! A maintainer will review it soon. Please make sure all CI checks pass. |
Two fixes to the landing page's Quickstart section (
src/components/QuickstartSection.tsx).1. Stale CLI commands
The snippet used v1-era names that no longer exist in Refactron — anyone copy-pasting would hit "unknown command". Updated both the npm and pip tabs:
refactron refactor . --previewrefactron run --dry-run .refactron refactor . --verifyrefactron run --apply .(
analyzeis unchanged.)2. Card not fully visible
The card content sat at
z-10, beneath the section'sz-20top/bottom black-fade gradients — so the card's edges were darkened. Lifted the card toz-30so it renders above the gradients. The gradients still fade the ASCII backdrop behind it.Verified:
eslintandprettier --checkboth clean.